package com.mbc.common.entities;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;

@Entity(name="Country")
@SuppressWarnings("serial")
@NamedQueries({
	@NamedQuery(name="Country.findAll", query="SELECT c FROM Country c")
})
public class Country implements Serializable {

	@Id
	@Column(name="CountryCode")
	private String countryCode;
	@Column(name="Name")
	private String name;

	public Country() {
	}

	public String getCountryCode() {
		return countryCode;
	}

	public void setCountryCode(String countryCode) {
		this.countryCode = countryCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
